/**
 * @author tibork
 */
Ext.namespace("Softab");

Softab.CurrentEntityID = 0;
Softab.EntityEditRecordHandler = function(entityID, recordID){
	Ext.Msg.alert("alert!","alert!");
    Softab.CurrentEntityID = entityID;
    Ext.Ajax.request({
        url: 'server/EntityAddRecordForm.php?__id=' + entityID + '&recordID=' + recordID + '&task=EditRecord',
        success: function(response){
            Ext.Msg.alert("alert!","alert!");
			//Softab.EntityAddRecordHandler.ParseEntityDetails(response)
        }
    });
}